home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K Debug 2.xpl < prev    next >
Text File  |  2001-04-28  |  1KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Debugging"
  5. "NAME"="Software Management Logging"
  6. "VERSION"="1.01"
  7. "OSVERSION"="0001011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Log Software Management activity"
  10. "DESCRIPTION 1"="If you are using an ActiveDirectory enabled Workstation connected to an ActiveDirectory domain, your Administrator can enable automatic Software Installation through ActiveDirectory and GPOs."
  11. "DESCRIPTION 2"="To debug failures in this system, Windows is able to generate a verbose log to "%windir%\debug\usermode\AppMgmt.log" by enabling this setting. "
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=""
  16.  
  17.  
  18.  
  19. sP="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics\"
  20.  
  21. sV1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics\AppMgmtDebugLevel" 
  22.  
  23. Sub Plugin_Initialize 
  24.     i=RegReadValue(sV1)
  25.     if i=155 then setuielement 1,true
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  if GetUIElement(1)=true then
  33.     Call RegWriteValue(sV1,155,2)
  34.  else
  35.     If RegValueExists(sV1) then RegDeleteValue(sV1)
  36.  end if
  37.  
  38.  i=RegEnumValues(sP)
  39.  if i=0 then RegDeletePath(sP)
  40.  
  41.  Call Logoff()
  42. End Sub
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.